check for openat2
authorMichael Tokarev <mjt@tls.msk.ru>
Tue, 24 Feb 2026 07:19:30 +0000 (10:19 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 17 Apr 2026 08:02:47 +0000 (11:02 +0300)
Gbp-Pq: Name check-for-openat2.patch

lib/replace/wscript

index c1813897a6241d200a80a01299784cd7c6052801..6d94fb03884152bc02da2b213cae5a89249de89f 100644 (file)
@@ -423,6 +423,7 @@ def configure(conf):
     conf.CHECK_FUNCS('asprintf vasprintf setenv unsetenv strnlen strtoull __strtoull')
     conf.CHECK_FUNCS('strtouq strtoll __strtoll strtoq memalign posix_memalign')
     conf.CHECK_FUNCS('fmemopen renameat2')
+    conf.CHECK_FUNCS('openat2')
 
     if conf.CONFIG_SET('HAVE_MEMALIGN'):
         conf.CHECK_DECLS('memalign', headers='malloc.h')